package com.jdpc.weparty.service.pic

import org.springframework.web.multipart.MultipartFile
import javax.servlet.http.HttpServletResponse

interface PictureService {
    fun responseAvatar(response:HttpServletResponse, picName:String)
    fun responseBanner(response: HttpServletResponse,picName: String,path:String="")
    fun saveAvatar(file: MultipartFile, userId: Int): String?
    fun saveBanner(file: MultipartFile, aId: Int): String?
    fun deleteBanner(url:String): Pair<Boolean, String>
    fun saveBanner(files: List<MultipartFile>,aId:Int):List<String?>
//    fun getBanners(aId:Int):Set<Picture>
}